PROGRAMMING Simple Testing Can Prevent Most Critical

نویسنده

  • Guilherme Renna Rodrigues
چکیده

Xu Zhao is a graduate student at the University of Toronto. He received a B.Eng. in computer science from Tsinghua University, China. At U of T, his research is focused on reliability and performance of distributed systems. [email protected] Large, production-quality distributed systems still fail periodically, sometimes catastrophically where most or all users experience an outage or data loss. Conventional wisdom has it that these failures can only manifest themselves on large production clusters and are extremely difficult to prevent a priori, because these systems are designed to be fault tolerant and are well-tested. By investigating 198 user-reported failures that occurred on production-quality distributed systems, we found that almost all (92%) of the catastrophic system failures are the result of incorrect handling of non-fatal errors, and, surprisingly, many of them are caused by trivial mistakes such as error handlers that are empty or that contain expressions like “FIXME” or “TODO” in the comments. We therefore developed a simple static checker, Aspirator, capable of locating trivial bugs in error handlers; it found 143 new bugs and bad practices that have been fixed or confirmed by the developers.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Security testing of session initiation protocol implementations

The mechanisms which enable the vast majority of computer attacks are based on design and programming errors in networked applications. The growing use of voice over IP (VOIP) phone technology makes these phone applications potential targets. We present a tool to perform security testing of VOIP applications to identify security vulnerabilities which can be exploited by an attacker. Session Ini...

متن کامل

OPTIMAL STATISTICAL TESTS BASED ON FUZZY RANDOM VARIABLES

A novel approach is proposed for the problem of testing statistical hypotheses about the fuzzy mean of a fuzzy random variable.The concept of the (uniformly) most powerful test is extended to the (uniformly) most powerful fuzzy-valued test in which the test function is a fuzzy set representing the degrees of rejection and acceptance of the hypothesis of interest.For this purpose, the concepts o...

متن کامل

An Automated Testing Approach in Data Mining System using Genetic Algorithm Framework

Software testing performances are usually designed by human experts, while test automation tools are appraisal of test outcomes is also associated with a considerable effort by software testers who may have imperfect knowledge of the requirements specification. This paper presents a method for optimizing software testing efficiency by identifying the most critical path clusters in a program. Th...

متن کامل

Investigating the Influence of Filter Uniformity Coefficient and Effective Pore Size on Critical Hydraulic Gradient and Maximum Erosion of Dispersive and Non-dispersive Samples

Filter is one of the main components of embankment dams. By a simple but effective performance, filter protects the dam against erosion and soil scouring in impervious core caused by leakage (piping) and makes it safe. Interaction between filter and erodible base soil is a complex phenomenon which is dependent upon several factors, and has challenged researchers for better understanding the fil...

متن کامل

Quantitative Modeling for Prediction of Critical Temperature of Refrigerant Compounds

The quantitative structure-property relationship (QSPR) method is used to develop the correlation between structures of refrigerants (198 compounds) and their critical temperature. Molecular descriptors calculated from structure alone were used to represent molecular structures. A subset of the calculated descriptors selected using a genetic algorithm (GA) was used in the QSPR model development...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015